package fr.vincent.aquarium.metier.conseil;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import fr.vincent.aquarium.metier.commun.HibernateDaoSupport;

@Repository("accessoire")
public class ConseilDaoImpl extends HibernateDaoSupport<Conseil> implements
		ConseilDao {

	@Autowired
	public ConseilDaoImpl(
			@Qualifier("SessionFactory") SessionFactory sessionFactory) {
		super.setClazz(Conseil.class);
		this.sessionFactory = sessionFactory;
	}
}
